package com.woniuxy.lrz.carlproject.service.dto.orderDto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

@Data
public class OrderDetailDTO {

    @TableId(value = "user_order_id", type = IdType.AUTO)
    private Integer userOrderId;

    @ApiModelProperty("订单编号")
    private String userOrderNo;

    @ApiModelProperty("订单状态 TRANSPORT-配送 WAITING-等待服务 SERVING-服务中 WORKED-服务完成 DEAL-订单完成 COMPLAIN-投诉  已退款-REFUND")
    private String status;

    @ApiModelProperty("关联门店id")
    private Integer shopId;

    @ApiModelProperty("收货地址")
    private String userOrderLocation;

    @ApiModelProperty("订单金额")
    private BigDecimal allPay;

    @ApiModelProperty("订单生成时间")
    private Date userOrderCreateTime;

    @ApiModelProperty("订单完成时间")
    private Date userOrderFinishTime;

    @ApiModelProperty("预约服务时间")
    private Date appointTime;

    @ApiModelProperty("订单商品详情列表")
    private List<OrderGoodInfoDTO> goodInfos;
}
